package Class.Advance.Polymorphism.Test.Zoo;

public class Cat extends Animal{
    public Cat() {
    }

    public Cat(int age, String color) {
        super(age, color);
    }

    public void catchMouse(){
        System.out.println("抓老鼠");
    }

    public void eat(String something){
        System.out.println(getAge() + "岁的" + getColor() + "猫正在吃" + something);
    }
}
